package kuba.event;

import org.springframework.context.ApplicationEvent;

public class BasicEvent extends ApplicationEvent{

    private static final long serialVersionUID = 1L;

    private String message;
    public BasicEvent(Object source,String message) {
        super(source);
        this.message=message;
    }

    @Override
    public String toString() {
    
        return message;
    }

}
